package com.neusoft.service.impl;

import com.neusoft.dao.UmsAdminDao;
import com.neusoft.model.UmsAdmin;
import com.neusoft.service.UmsAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: duan
 * @Date: Create in 10:33 2020/10/28
 */
@Service
public class UmsAdminServiceImpl implements UmsAdminService {
    @Autowired
    private UmsAdminDao umsAdminDao;

//    public UmsAdminServiceImpl setUmsAdminDao(UmsAdminDao umsAdminDao) {
//        this.umsAdminDao = umsAdminDao;
//        return this;
//    }

    @Override
    public boolean insert(UmsAdmin bean) {
        return false;
    }

    @Override
    public boolean update(UmsAdmin bean) {
        return false;
    }

    @Override
    public boolean delete(Long id) {
        return umsAdminDao.delete(id);
    }
}
